package com.enjoyor.soa.traffic.api.service.dubbo.fms;

import com.enjoyor.soa.traffic.api.dto.fms.FileAnnexDto;
import com.enjoyor.soa.traffic.api.dto.fms.LogUserDto;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

/**
 * 资料附件
 * 
 * @author Administrator
 *
 */
public interface DubboFileAnnexService {
	/**
	 * 根据资料id查找附件list
	 * 
	 * @param token
	 * @param systemKey
	 * @param fileid
	 * @return
	 */
	public ResultPojo getFileAnnex(String token, String systemKey, LogUserDto logUser, String fileid, String id);

	/**
	 * 根据资料id删除附件
	 * 
	 * @param token
	 * @param systemKey
	 * @param fileid
	 * @return
	 */
	public ResultPojo deleteFileAnnex(String token, String systemKey, LogUserDto logUser, String fileid);

	/**
	 * 增加附件
	 * 
	 * @param token
	 * @param systemKey
	 * @param fileannex
	 * @return
	 */
	public ResultPojo addFileAnnex(String token, String systemKey, LogUserDto logUser, FileAnnexDto fileannex);

	/**
	 * 修改附件
	 * 
	 * @param token
	 * @param systemKey
	 * @param fileannex
	 * @return
	 */
	public ResultPojo editFileAnnex(String token, String systemKey, LogUserDto logUser, FileAnnexDto fileannex);
}
